Crate font_types

source ·
Expand description

Common scalar data types used in font files

Macros§

Structs§

  • A wrapper around raw big-endian bytes for some type.
  • Minimum and maximum extents of a rectangular region.
  • 16-bit signed fixed point number with 14 bits of fraction.
  • 32-bit signed fixed point number with 6 bits of fraction.
  • 16-bit signed quantity in font design units.
  • 32-bit signed fixed point number with 16 bits of fraction.
  • A 16-bit glyph identifier.
  • A simple datetime type.
  • A type representing a major, minor version pair.
  • Identifier for an informational string (or name).
  • An offset of a given width for which NULL (zero) is a valid value.
  • A16-bit offset to a table.
  • A24-bit offset to a table.
  • A32-bit offset to a table.
  • Two dimensional point with a generic coordinate type.
  • An OpenType tag.
  • 16-bit unsigned quantity in font design units.
  • 24-bit unsigned integer.
  • A legacy 16/16 version encoding Packed 32-bit value with major and minor version numbers.

Enums§

  • An error representing an invalid tag.
  • Captures commands to Pen to facilitate implementations that buffer commands.

Constants§

Traits§

  • A trait for determining whether versions are compatible.
  • A trait for types that have a known, constant size.
  • Interface for accepting a sequence of path commands.
  • A trait for font scalars.